Fix build_with_il on devices older than 2.1 (#1065)

The get_device_il_version_string() function throws an exception if the
device does not support the CL_DEVICE_IL_VERSION query, so don't call
this unless the version is recent enough.
1 file changed