Clean up L2 cache flush code in testbench.