[v2 PATCH] wincodecs/icoformat: Improve input data validation on decoder initialization.