groonga-httpd-restart: add missing wait for PID file creation
groonga-httpd-restart: fix inverted condition