Fix proc_terminate with invalid signal argument.

Closes https://github.com/facebook/hhvm/issues/2107.