Convert export options from constants to a set and accordingly adjust all usage locations

git-svn-id: http://svn.freepascal.org/svn/fpc/branches/svenbarth@28691 3ad0048d-3df7-0310-abae-a5850022a9f2