lavf/compute_pkt_fields: only run pts by duration correction if reference ts is available