Use atomic_t for pool and msg counters.

This appears necessary to avoid false positives.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>