fix PR8769, a miscompilation by inliner when inlining a function with a byval