Fix --benchmark generating valid work for cgminer.