khr_debug: fix invalid enum usage on gles3