Fix EGL multithread test bug.

EGL multithread tests would end up in infinite loop when running tests with
single window if window was already acquired by other thread.

Bug: 20177226
Change-Id: Icad4cbd1d6c943e24767c93d2dac47c5fa5eaa28
1 file changed