Do not use auto to infer the thread id

Some versions of Xcode have trouble deducing the variable type, breaking
the build.

Change-Id: If1dc89dac87b0f240d13d84f451b5a6b93fe9ebb
1 file changed