dri: Change __DriverApiRec::CreateContext to take a struct for attribs