[PATCH 2/5] riched20: Use a helper function to find the first row.