Make rgb_interleaved performance test's timing and correctness check more robust.