lib: internal: nativeresolver: solution: use common key for all version vertexes of the same package

This effectively halves the memory footprint of changing version of the
package in a PreparedSolution. Does not affect non-version vertexes.