added const to X86Mem.rexNeeded

cannot override const member with non-const
dmd hit HEAD compatibility

rvalues (e.g. slices) cannot be passed as ref arguments.
Merge pull request #10 from John-Colvin/patch-6

Fixed compatibility with dmd git master
- Renamed segment to trace
- Implemented eval function
- eval only has access to the global scope