get_pix_fmt_score: favor equal formats if all else equal

Fixes Ticket2578

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>