Add FdFile::Compare

Also added unit test. Will be used in tests.

Bug: 63467744
Test: test-art-host-gtest-fd_file_test -j40

Change-Id: If5b81ecb587fbff3cce8e0acb9ba397a9bc654da
3 files changed