This PR changes to use NBT plugin version from gradle.properties in image tests to try to resolve #32474.

Closes gh-32474