PdfToImageCairo: use "gm convert" for non-png formats