Uniform density limit of exchange-correlation energy functionals