Speed up quantized upsampling for channels last (#70903)
Summary:
Moving the calls to `q_zero_point()` outside the for loop considerably
speeds up upsampling for channels last format.
This fix is very similar to https://github.com/pytorch/pytorch/pull/66525 but applies it for channels last format.
Fixes https://github.com/pytorch/pytorch/issues/70902
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70903
Reviewed By: mruberry
Differential Revision: D33531805
Pulled By: vkuzo
fbshipit-source-id: e723f1e3d53bdd66529c1326dccba889402a126c