Another micro-opt

A "free" optimization, which brings 2 to 4% improved speed, depending on
the structure of the PNG file being analyzed (more segments -> bigger
gains from this micro-opt).