vmem: implementation of vmem_check()

Validate pool consistency.
Detect: wrong data in header, not zeroed values inside zeroed pages,
data structures from outside of memory region, conflict memory region between pools.