Don’t crash when passing PDF to \XeTeXpicfile on Mac

It will now produce an error instead, which matches the non Mac
behaviour (this used to work on Mac before probably because QuickTime
could load PDF images, but that is no longer the ImageIO API).
Make the #ifdef's actually work