daemon: Fix segfault in read_pidfile() when pidfile does not exist.