dri: Add DRI entrypoints to create a context for a given API