[PATCH RFT v5 5/7] selftests/clone3: Factor more of main loop into test_clone3()