Update zm_thread.h

As proposed on https://github.com/ZoneMinder/ZoneMinder/issues/170