Improve sext and zext of TLS variables.