For gcc 4.7, use gimple_call_fntype to extract a GIMPLE_CALL function type.

This fixes cases where function pointers are cast in the call expression.