add TSRM header in zts mode and module pointer

The TSRM.h header should be included before anything else in ZTS if we don't want weirdness, again just best practice ...