[runtime] Add support for generating the push/pop the LMF from the LMF stack as IR instead of hand-written assembly code in the backends.