fix FC in Android 2.3 when calling util.realpath
the bionic implementation of realpath in Android 2.3 will
directly copy to resolved ptr without checking the nullity
Merge pull request #178 from chrox/master

fix FC in Android 2.3 when calling util.realpath