Fix false positive in UnneededPercentQ for /%Q(something)/

Regular expressions starting with `%` or `%Q` were treated as string literals starting with those delimiters.

This bug does not occur in other cops as far as I can see.

Related to #835.