[PATCH AUTOSEL 6.1 14/34] md: avoid signed overflow in slot_store()