tests: add sync_file_range.test and sync_file_range2.test

* configure.ac (AC_CHECK_FUNCS): Add sync_file_range.
* tests/sync_file_range.c: New file.
* tests/sync_file_range2.c: Likewise.
* tests/sync_file_range.test: New test.
* tests/sync_file_range2.test: Likewise.
* tests/.gitignore: Add sync_file_range and sync_file_range2.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add sync_file_range.test and sync_file_range2.test.
diff --git a/tests/.gitignore b/tests/.gitignore
index c240a11..c856bff 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -136,6 +136,8 @@
 stat
 stat64
 statfs
+sync_file_range
+sync_file_range2
 sysinfo
 syslog
 tee