Closes GH-5341
When setting new options, `mb_regex_set_options()` is supposed to return the *previous* options.