Bug 1018477: Fix R/M check in x86 detour code. r=m_kato