Make EGL GLES2 multithread sharing tests more robust.

- After timeout log warning before trying to get logs from threads that
  are still running.
- Use lock around per thread log.
- Make thread status checks more robust.

Change-Id: I6618befa47523bee5cba7ad295d36bf1b6fd7bc0
3 files changed