+ Two more checks for access to global data and setting the pi_needs_got flag, intended for targets that require decision about PIC code generation strictly before pass 2.

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