Acyclic coloring of graphs without bichromatic long path