git-daemon: use LOG_PID, simplify logging code