Linear theory for the collisionless drift wave instability with wavelengths near the ion gyroradius