Fixed betterInstanceOf for Gecko

Some tests fail with SlimerJS...

Closes #732
Merge pull request #733 from laurentj/issue-732

Fixed betterInstanceOf for Gecko