Fix arm32 code generator when used with baseline compilation.

A shift with zero can happen in baseline as we don't run
instruction simplification.

Also move baseline testing to AOT to catch such regressions.

Test: test.py --baseline
Change-Id: I9fa7af8e058135688ec44d907da7a6da27a6311e
3 files changed