fixed long-standing bug in XXT showing up with self-periodic elements

git-svn-id: https://svn.mcs.anl.gov/repos/nek5/trunk/nek@979 24248562-e74d-0410-ab4b-d4d80c744c73