bugfix 4753: improved error message if non-integer image is converted to a labeling