fix non-PIC relocation in 32-bit dso thunk

- causes dynamic TEXT relocations
need GOT only for PIC code (x86_32)
Merge pull request #3229 from MartinNowak/fix11171b

fix non-PIC relocation in 32-bit dso thunk