When trying to run test-release.sh on Solaris 11.4 for 9.0.0 rc4, I failed initially
because Solaris lacks chrpath. This patch accounts for that and allowed the run to
continue.
However, when its use was introduced back in 2013 r194999, it was justified by a libtool quirk
of emedding build directories in RPATHs. Given that libtool isn't used any longer, one
might instead want to revert that patch instead.
The current version was tested on amd64-pc-solaris2.11 and sparcv9-sun-solaris2.11.