os/thread.hpp: Changed the specific safe bool idiom version
os/thread.hpp: Changed the specific safe bool idiom version

  Testing suggests that when optimization is on, this is smaller

AmkG/hl,AmkG/hl,AmkG/hl