phase-helpers.sh: fix has/best_version for cross-prefix portageq (bug 655414)

When the portageq root argument refers to ${PORTAGE_OVERRIDE_EPREFIX},
also export a consistent ${EPREFIX}, since portageq asserts that the
root argument ends with ${EPREFIX}.

Bug: https://bugs.gentoo.org/655414
1 file changed