[export] Remove setter for graph_module (#106651)
Summary: The ExportedProgram should be immutable
Test Plan: CI
Differential Revision: D48086375
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106651
Approved by: https://github.com/zhxchen17