coregl_fastpath: Refactor function fastpath_make_context_current