[PATCH 6.1 039/239] octeontx2-pf: mcs: Fix NULL pointer dereferences