Propagate the error from glslang::OutputSpv[Hex|Bin] and exit with an error code if there is an error.