GLSurfaceOzone: move the IsUDL() check after ScheduleOverlayPlanes()

The IsUDL() call always returns false if no overlay planes are queued.

BUG=569075
TEST=Verified that IsUniversalDisplayLinkDevice() returns true for UDL
NOTRY=true
NOPRESUBMIT=true

Review URL: https://codereview.chromium.org/1564123002
TBR=dnicoara@chromium.org

Cr-Commit-Position: refs/heads/master@{#368155}
(cherry picked from commit 66cf41e2641eadf9954c6c108eae235880e3a245)

Review URL: https://codereview.chromium.org/1570643002

Cr-Commit-Position: refs/branch-heads/2564@{#510}
Cr-Branched-From: 1283eca15bd9f772387f75241576cde7bdec7f54-refs/heads/master@{#359700}
1 file changed