[PATCH RFT v10 6/8] selftests/clone3: Factor more of main loop into test_clone3()