g729 bugfixes

* fix casting bugs in G729
freeswitch.channels via heartbeat

Indentation fixes as well.