[x86] Fix tls access in epilogs in AOT code.