fix gdi_resize: set primary_buffer to NULL to avoid use after free
Merge branch 'master' of git://github.com/awakecoding/FreeRDP