tests: fix off_t print warning on BSD