Resolve build errors building mod_handsfree with -pedantic

FreeSWITCH 1.2 builds modules with -Werror -std=c99 -pedantic

There are a number of errors within mod_handsfree that prevent the module building with these flags set.

This pull request will correct those errors and allow the module to build in a 1.2 tree.