Explicitly make {$regexp: "foo", $options: "garbage"} throw.

This check was explicitly in the old selector compiler but the rewrite dropped
it. The `new RegExp("foo", "garbage")` throws on most browsers but not on old
WebKit.