The time-delay spectrum of GX 5-1 in its horizontal branch