List coloring of graphs with cycles of length divisible by a given integer