tree-inline.c (optimize_inline_calls): Schedule cleanups only if we inlined something.