No-go for partially massless spin-2 Yang-Mills