Assert: Fix assertions called directly from QUnit.assert

Found this bug on running the jQuery Core tests.

This is a backwards compatibility fix.