[PATCH net-next v3 2/4] netconsole: selftest: Split the helpers from the selftest