Add make lint target
Add a make lint target which maps to a cppcheck target. As with
the shellcheck target it will only run when cppcheck is installed.
This allows a make lint build check to be incrementally added to
the automated testing for distribution which provide cppcheck.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4915