Avoid using "grep" in boolean and some scalar contexts

Replace boolean/trival scalar context uses of grep with "any" (etc.)
from List::MoreUtils.  This adds a (Build-)Depends on
liblist-moreutils-perl.

Signed-off-by: Niels Thykier <niels@thykier.net>