sgi-gru: restructure the GRU vtop functions