glsl2: Log a better error message when a matching function cannot be found