Validate kernel argument constraints for a symbol.
Constraints are optionally defined in C code and extracted in the parse_api module.