When constant-folding 'gettextureinfo', upon failure, don't suppress the
error message and assume it will get re-issued at shade time; instead,
constant fold the gettextureinfo op into a call to error()!