Theory of drift‐acoustic instabilities in the presence of sheared flows