Sonic instabilities in supersonic shear flows