This removes several #if checks. While just at it, also switch to static mutex initialization. This commit does not enable -show_log for builds without threads though. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>