pidl-waf: Add a function to check for a system perl module.