Influence of nonuniform plasma rotation on reactively unstable ion temperature gradient modes