Fix conditionals for QImage supported formats on clang
QImage::Format_Grayscale16 added in Qt 5.13
fixes: 7a90f28096ac2fada4646c2637f134c372df6644