Allow to use FPBASENAME environment variable as default base name for ini file

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28991 3ad0048d-3df7-0310-abae-a5850022a9f2
 Add USE_LOCAL_SET_GDB_DATA_DIRECTORY macro, to avoid main.o incorporation

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28992 3ad0048d-3df7-0310-abae-a5850022a9f2