fix static tls offsets of shared libs on TLS_ABOVE_TP targets