Fix reace in PooledUnsafeDirectByteBuf and add testcase