The trace anomaly of the (2,0) tensor multiplet in background gauge fields