[PATCH 6.17 149/507] timers/migration: Convert "while" loops to use "for"