Add explicit os_cache_dirty_max settings for LSM wtperf tests. #1051
Add code to ignore the setting if sync_file_range is not available.