Fix idlharness.js

The move to WebIDL2 broke existing tests, such as <http://w3c-test.org/webapps/XMLHttpRequest/tests/submissions/Ms2ger/interfaces.html>. This reverts to a working version.