Fix URIUtils.resolve problem on API level 10

See [AGDROID-115](https://issues.jboss.org/browse/AGDROID-115)