compatibility.next import in unify/test_sympy.py

This fixes a current bug in master.

`next` was used in a test in the unify module without importing from `sympy.core.comatibility`.  This pull request adds the appropriate import.