Fix channel swizzling problem on OSX (BGRA vs RGBA on 32Fbits)
OSX supports core profile only, so it doesn't report any extensions
for floating point texture formats. We should just use it directly if
openGL version is higher than 3.0, when floating point textures became
core profile.