[PATCH v2 3/8] riched20: Move y-adjust to its own function.