added const to X86Mem.rexNeeded

cannot override const member with non-const