Avoid potential race condition in test setup

Resize the event queue before starting the polling thread to avoid
potential concurrent access.

Test: run VtsHalSensorsV2_0TargetTest
Change-Id: I71af46169e7731df4135639644665365b3714e1f
1 file changed