msxml3: Remove redundant NULL checks before HeapFree and fix a memleak (Smatch).