routing: refactor private KPI
- Make nhgrp_get_nhops() return const struct weightened_nhop to indicate that the list is immutable
- Make nhgrp_get_group() return the actual group, instead of group+weight.
MFC after: 2 weeks
(cherry picked from commit ae6bfd12c8c887b323d623c6c21d29f25622d42d)