Add of_thread_set_name()
Fix MinGW32 build
OFThread: Configurable priority and stack size