Uniformly rotating homogeneous rings in post-Newtonian gravity