[PATCH 5.4 470/658] md: fix a crash in mempool_free