[PATCH 5.15 052/123] net: rtnetlink: add helper to extract msg types kind