OneDNN: report error for dilation max_pooling and replace AT_ERROR with TORCH_CHECK in oneDNN codes (#43538)
Summary:
Fix https://github.com/pytorch/pytorch/issues/43514.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43538
Reviewed By: agolynski
Differential Revision: D23364302
Pulled By: ngimel
fbshipit-source-id: 8d17752cf33dcacd34504e32b5e523e607cfb497