Fix up bmalloc's PerThread for use on Linux