A portable high-quality random number generator for lattice field theory simulations