[Folder View] Don't spawn multiple stat jobs for the same folder
Check for one already running before spawning a new one.
Also move the check for the isDirCache in one place.
Differential Revision: https://phabricator.kde.org/D14077
(cherry picked from commit e03217edfc1a002a3ea654c58a28c1e1f689f3bf)