clSetKernelArg: more check to conform to the spec
Tests: fix test test_null_arg to be correct