Export full package version as CARGO_PKG_VERSION

Fixes #1047