Universal Kaluza-Klein reductions of type IIB to N = 4 supergravity in five dimensions