alloc: Add easy memory checker and use memwatch.

The checker is enabled only when LSMASH_ALLOC_DEBUG is defined.