[PATCH net-next v2 11/14] selftests: forwarding: lib: Move smcrouted helpers here