Fix asm patch when replaced ARM code is not in thumb mode