glsl: Fix null return coverity warning