Merge v1 and v2 random code generators into an improved generator

- Since the V2 architecture now has a store buffer, now uses independent memory areas
(this also helps cause more cache misses)
- Use pseudorandom number generator to initalize memory areas
- Use 1MB aligned areas to allow larger code segments
Generate memory offsets