Try to zero the EGL initialization count

The testThreadCleanup test exercises eglTerminate behavior when
the display initialization count is zero.  If a previous test
called eglInitialize but didn't subsequently call eglTerminate,
this test will fail.

To work around this, the test now calls eglTerminate several times
to (hopefully) zero the count.

Bug 10310257

Change-Id: I012fede308b16012093cd3dbe28bcfd74b599c61
1 file changed