[PATCH 6.12 537/590] md/md-bitmap: factor behind write counters out from bitmap_{start/end}write()