memory: prepare for multiple bits in the dirty log mask