[android] Fix inaccurate detection of sendfile() (#13243)