[PATCH v2 1/3] riched20: Extract handling of VK_RETURN into a method