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