ticket:8451: Ensure that the error conditions are handled properly.

git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk/source@33088 251d0590-4201-4cf1-90de-194747b24ca1
ticket:9802: Fix failures in running cintltst and intltest without data

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