Electromagnetic ion-temperature-gradient modes and anomalous transport in a nonuniform magnetized plasma with equilibrium flows