Short wave stability of homogeneous shear flows with variable topography