(Apple) Reimplement apple_gfx_ctx_bind_api