libmosquitto: add patches to make mingw compilation work