[PATCH 12/17] programs/winedbg: add helper to compare types and use it to detect wrong assigments