Positivity constraints on anomalies in supersymmetric gauge theories