Simplify previous-/nextActivity code in kactivities-cli
Summary: Removed unnecessary bool found and directly return from inner loop.
Reviewers: ivan, davidedmundson, apol
Reviewed By: davidedmundson, apol
Subscribers: kde-frameworks-devel
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D22370