A semiclassical ramp in SYK and in gravity