target/arm: Abstract out pbit/wbit tests in ARM ldr/str decode