Revert "Inline ldrex/strex for thumb2, remove ARMv5 remnants."

This reverts commit 47aff36b57cae482884b0bc934fd10e0daac6056.