emulator: Add option to randomize memory contents.