clip FoldPoint earlier (#2982)

fold_point_to_display_point calls to_offset on the fold point, which
panics if it hasn't been clipped.

https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1694850156370919

Release Notes:

- vim: Fix a crash when moving up/down in some circumstances.
5c8ff05577Conrad Irwin committed on 9/18/2023, 2:53:38 PM· committed by GitHubparents0598a824244e78
1 file changedLine totals unavailable