[ONNX] Default runtime type checking to raising errors (#86555)
Default runtime type checking to raise by changing the default value to `GLOBALS.runtime_type_check_state` into ERRORS
Pull Request resolved: https://github.com/pytorch/pytorch/pull/86555
Approved by: https://github.com/BowenBao