Add bfloat16 support to upsample (#95500)
Fixes https://github.com/pytorch/pytorch/issues/80339
This PR was previously here: https://github.com/pytorch/pytorch/pull/95159
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95500
Approved by: https://github.com/ezyang