Zero-mode anomaly in the RKKY interaction on bipartite lattices