BufferPoolTest: fix concurrency bug

Change-Id: I86f37b274493aefca1ca24ceb9b1afc3d2ae1922
Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Merge "BufferPoolTest: fix concurrency bug"