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

This reverts commit 62980e817c51c56208971ed5c3e98e0cb21e1685.