[PATCH net-next 1/4] selftests: forwarding: lib: Split out setup_wait_dev()