Named GraphCutSeamFinderBase to allow its usage in makePtr.

Sequel to bcb6f038.
Merge pull request #1583 from SpecLad:name-enum-2