Return error on unsupported options in Regex.compile

As discussed on IRC with @josevalim.