add TSRM header in zts mode and module pointer

That's included in skeletons and used by deps, and possibly windows ...