GF is a shortcut for FiniteField, so you can declare it as follows:
from sage.rings.finite_rings.finite_field_constructor import FiniteField as GF

In case something like this reappears, there is a very handy helper function to discover import statements : import_statements