IDF3 wxDateTime patch to fix MinGW builds for missing localtime_r().