[FX] Fix tracing a free function with embedded constant (#50639)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/50639
Test Plan: Imported from OSS
Reviewed By: ansley
Differential Revision: D25934142
Pulled By: jamesr66a
fbshipit-source-id: de9053d4f92a7a2f4f573378837ff5ae78e539b1