[inductor] Fix an expression printer issue during generate_return (#103557)
Summary: This fixes a symbolic expression printing issue when cpp_wrapper
is on.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/103557
Approved by: https://github.com/eellison