lavf/img2dec: fix weird start_number count logic