qtwebkit: fix build issue with gcc 4.7

* Add missing include unistd.h for getpid()
* Remove unused variables

Open-webOS-DCO-1.0-Signed-off-by: Weiwen Zhao <panda.hust@gmail.com>