[ONNX]Fix export of full_like (#40063)
Summary:
Fix export of full_like when fill_value is of type torch._C.Value.
This PR fixes a bug when exporting GPT2DoubleHeadsModel https://github.com/huggingface/transformers/issues/4950
Pull Request resolved: https://github.com/pytorch/pytorch/pull/40063
Reviewed By: hl475
Differential Revision: D22398353
Pulled By: houseroad
fbshipit-source-id: 6980a61211fe571c2e4a57716970f474851d811e