jQuery.parseHTML: Make XSS test conditional

The current implementation relies on `document.implementation.createHTMLDocument`,
which may not be available in older Android browsers (<= 2.x).