support patching Thumb function called from ARM