[PATCH 4.9 14/31] loop: Check for overflow while configuring loop