Consider TLS_DTV_OFFSET when calculating the TLS range.

The dynamic thread vector (DTV) pointers may point 0x8000 past the start of each TLS block. This is at least true for PowerPC and Mips platforms.
I added all relevant cases and the `static assert`.