[PATCH 5.15 172/279] ptp: ocp: Fix a couple NULL vs IS_ERR() checks