[jit] Fix some checks in the arm dyn call code. Fixes #17101.