Sharing: only use JETPACK__VERSION on Jetpack

See discussion in #1430