More cleanup: use waitForComposite() in buffer-offscreen-test.html

The original test use some window scroll and timed delay to ensure compositing, whereas we have wtu.waitForComposite exactly for that purpose.