Fix imagick version constant use