vmem: make sure a pool is destroyed

Make sure that a destroyed pool cannot be reused.

Ref: pmem/issues#20
Merge pull request #90 from ldorau/vmem-destroy-pool_id-in-pool_destroy

vmem: make sure a pool is destroyed