Numerical integration of thermal noise in relativistic hydrodynamics