* image.c (imagemagick_get_animation_cache): Don't segfault on each invocation.