ffprobe: implement and use print_time and print_ts macros