truncate: create TruncateMode::to_size() method
truncate: create TruncateMode::to_size() method

Create a method that computes the final target size in bytes for the
file to truncate, given the reference file size and the parameter to the
`TruncateMode`.

uutils/coreutils,uutils/coreutils,uutils/coreutils