[Win][Clang][WebKitLegacy] Fix compilation errors and warnings of WebPreferences.cpp