Hydrodynamic effective field theory and the analyticity of hydrostatic correlators