ARM/ARM64: Improve frame entry/exit codegen. am: 1a225a76ee am: f9b0dc4f13
am: 474026e855

Change-Id: Icd6420db4d1c93832321b3384d82decc89aa02d7