[quant][graphmode][fx] Fix fp16 dynamic quant for functional linear (#52369)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/52369
Test Plan: Imported from OSS
Reviewed By: supriyar
Differential Revision: D26491425
fbshipit-source-id: d2c2a70bf1bc43ac2b63ac4cf9ae9c07887f12e9