Spectral instability of general symmetric shear flows in a two-dimensional channel