CHG: pure runtime detection of CEGLNativeTypeIMX