[PATCH 6.1 043/181] md: avoid signed overflow in slot_store()