[ROCm] enable kernel asserts (#49624)
Summary:
Addresses missing ROCm feature indicated in https://github.com/pytorch/pytorch/issues/38943.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49624
Reviewed By: agolynski
Differential Revision: D28902459
Pulled By: malfet
fbshipit-source-id: 29c9b552770241a0ec52cd057ea45efc4389d838