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