loader: fix GL c has_ext for GL < 3