libwinpr-utils: further split wlog framework into more source files, add some thread safety for write operations