x86: simplify code handling LOCK/REP by remembering this prefix status when decoding it
arm: update target branch having relative offset. issue reported by Giovanni Condello
x86: use strncpy() to update instruction mnemonic