CLI: Improve nlmeans-tune logging and error handling.

The latter fixes a compiler issue.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6217 b64f7644-9d1e-0410-96f1-a4d463321fa5