ticket:10459: Fix segfault in uregex_group() when match is in invalid state.

git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@34559 251d0590-4201-4cf1-90de-194747b24ca1