tinyxml: add 2 patches required by xbmc.