Add support for valgrind cleanup of APV in task call.
Remove a cppcheck warning and update suppression file