Bug 961498: Prevent ICO decoder from exploding when faced with single-resource ICOs r=rnewman