Remove the unused extra gl param to waitForCompositor

Please review.