d3dcompiler: Add hlsl_report_message function to standardize error messages.