flashbench: implement write opcodes in vm This makes it possible to use three kinds of write operations, writing zero-, one- or somwhat random contents. Many media have different characteristics depending on the kind of content. Signed-off-by: Arnd Bergmann <[email protected]>