[PATCH 5.4 184/224] net: rtnetlink: add helper to extract msg types kind