Fixed "warning: bundle reader out of range"

This warning was displayed even if it's valid c3b file..
Changed "validLength <= needLength" to "validLength < needLength".
Merge pull request #9066 from cpascal/fix_bundlereader

Fixed "warning: bundle reader out of range"