gl: Silence a possible null dereference warning