mdbx: avoids infinite copy_file_range-loop when file is unexpectedly truncated.
mdbx: avoids infinite copy_file_range-loop when file is unexpectedly truncated.

Change-Id: I5a542a49fa4ac9ced8ca60266a084d52d3618804

leo-yuriev/libfpta,leo-yuriev/libfpta