[PATCH 5.16 0370/1039] net: dsa: fix incorrect function pointer check for MRP ring roles