Fix `separate` for grayscale images (fixes #212)