[Plasma/6.1] watchdog: add includes for geteuid
05a3e2ba added geteuid
use but didn't
add the needed headers. This works by chance on libstdc++ systems via
transitive includes, but it doesn't work on libc++ systems, as reported
downstream in Gentoo at https://bugs.gentoo.org/933120.
(cherry picked from commit 31a3961c)