Add THREAD_HEADER to ObjectPoolTest

Fixes build problem on mac and arm