Fix ImageMagick detection on Windows

Map was using `which` to check for the existence of ImageMagick which doesn't exist on Windows. I added a null coalescing check using `where` that should work correctly in Windows.