On the chromatic number of powers of subdivisions of graphs