ldr_*: change BOOST_FOREACH to classic for ; arch_arm: add mode in configuration