Fix crash on second call to a non-PL/PgSQL function

We might have ended up doing an strcmp() call on a NULL pointer if the
prosrc was NULL in an existing record, or there previously was a prosrc
but the function was redefined in a language other than PL/PgSQL, and
called again.

Per report from Anders Granlund.