[PATCH 6.9 250/374] selftests: net: Unify code of busywait() and slowwait()