Fixed GWT compatibility.
Merge pull request #1992 from davebaol/ai-pq

PriorityQueue: fixed GWT compatibility.
Merge branch 'master' of https://github.com/libgdx/libgdx