mesa: make error checking optional in _mesa_lookup_shader_include()