[nnc] Remove check on initializer in compressBuffer (#60194)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/60194
Test Plan: Imported from OSS
Reviewed By: bertmaher, huiguoo
Differential Revision: D29206255
Pulled By: navahgar
fbshipit-source-id: 0a68ec4067c37f06ca1ea9ddeeb5ad5e0dcb0639