KCoreDirLister: reduce string allocations in `setNameFilter`
QRegularExpression::wildcardToRegularExpression
converts QString to
QStringView and it also accepts QStringView.
QRegularExpression::wildcardToRegularExpression
converts QString to
QStringView and it also accepts QStringView.