[PATCH 5.10 113/173] md: avoid signed overflow in slot_store()