making quant utilities inplace
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/25054
Test Plan: Imported from OSS
Differential Revision: D16974198
Pulled By: zafartahirov
fbshipit-source-id: 54befc8429990adafe746d1255d117fca5f12e11