[PATCH 5.19 110/158] loop: Check for overflow while configuring loop