box: Merge the common processes at box destruction into a function.
box: Do common box destruction within isom_remove_extension_box().
alloc: Add easy memory checker.

The checker is enabled only when LSMASH_ALLOC_DEBUG is defined.