net/mlx5: Use PTR_ERR_OR_ZERO rather than its implementation