Implement proper osx aot tls support for amd64 too.