Influence of the thermal state of the overriding plate on the slab dip