GPU-based simulation of the long-range Potts model via parallel tempering