core: add ror utility and change BOOST_STATIC_ASSERT → static_assert ; arch_arm: fix bug when dealing with const/imm, support ARMExpandImm