webp: avoid read all data in GetInfo