[PATCH 6.16 183/627] refscale: Check that nreaders and loops multiplication doesnt overflow