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