Fix #353: Stripping image with invalid ICC profile fails