Add version checking decorator to cudart for defining wrappers to functions that may not be present in certain versions.