Fix PR7272 in -tailcallelim instead of the inliner