Fix incomplete sadf output when end time crosses 24H boundary

Same patch as commit 19b5020 applied to sadf.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>