Remove the unused extra gl param to waitForCompositor

Please review.
Could you please update this comment to something like "Waits for the browser to composite the web page"?