[CoreML][ios_crash] Use special throw macro when encountering CoreML API errors (#86938)
Error messages from TORCH_CHECK are stripped during production builds via -DSTRIP_ERROR_MESSAGES. This diff introduces a new macro COREML_CHECK which will always preserve the error message. This macro is used when encountering errors produced by CoreML API calls so that we can heve enough context to debug.
Differential Revision: [D40351013](https://our.internmc.facebook.com/intern/diff/D40351013/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/86938
Approved by: https://github.com/salilsdesai