Fixed gray scale conversion bug for floating point images in ImplConvertBitmap