[fix] use `opmath_t` for activation functions in Activation.cu (#77949)
Fixes #77942
cc @kshitij12345 @mruberry @ngimel
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77949
Approved by: https://github.com/kshitij12345, https://github.com/ngimel