(Apple) Cleanup in apple_gfx_ctx_init