Revert "Move dex register check upwards in the Inliner stack"

This reverts commit 7a7a1e2c826dc5f73df00936f98c21d8add7022c.

Reason for revert: We only want to check the register count if we have to create an environment

Bug: 200671122
Change-Id: I26af9075248f5b82f7118c6af9c6e758b7c14280
1 file changed