xml.c: pass non-const xmlNode to xmlHasProp()