[JuliaLowering] Fix generated functions when `expr_compat_mode=true` (#60233)
Pass `expr_compat_mode` through to `GeneratedFunctionStub`. You can get
surprisingly far into the stdlibs without testing this!
Also reduce the IR printing I mentioned being an issue in #60226, which
tests that we're keeping the whole green tree the same.