Use arm mode instead of thumb to fix armv6 assembly errors

Change-Id: I638ae02fbdc73041bed6e246cdc3c49cb450c122