DRW_mesh_batch_cache_dirty_tag relies heavily on the developer to check
all references between batch and buffer in order to discard batches along
with buffers.
This is not safe and makes it difficult to create new tags.
This patch proposes the creation of a series of macros that ensure that
the references between buffer and batch are computed.
These macros create uint32_t maps in the global scope that can be used
to identify batches that have references to the removed buffers in
DRW_mesh_batch_cache_dirty_tag.
To avoid errors, the developer just needs to ensure that MDEPS_ASSERT
and MDEPS_ASSERT_MAP point to the correct variables.
(And correct in case of failures).