[Bug 45243] Wrong cast in some HANDLE_MSG_WM_* macros produces errors when compiling with wineg++