For static DR, there is no private loader segment, and AArch64 was writing NULL into the TLS register, causing crashes. We fix that by using the app's segment in the same way that non-static DR uses the private segment.
Tested by locally enabling the drcachesim static tests. We cannot yet enable them permanently due to Travis build errors.
Issue: #2007 (closed)