add support for inlining :invoke exprs (#46606)
`NativeInterpreter` won't need this, but provide a support for `:invoke`
exprs here for external `AbstractInterpreter`s that may run the inlining
pass multiple times.
Co-authored-by: Shuhei Kadowaki <aviatesk@gmail.com>