change error_message for XPU Autocast data type check (#102073)
XPU autocast supports bf16 and fp16 data types, we are going to change the error_message for that.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/102073
Approved by: https://github.com/jgong5