net/mlx5: Fix passing zero to 'PTR_ERR'