macosx_vout: Correctly change context after -lockgl.