[PATCH 6.1 102/219] octeontx2-af: Fix max NPC MCAM entry check while validating ref_entry