[PATCH 5.15 046/136] octeontx2-pf: Use correct struct reference in test condition