Handle cmd_type PLPGSQL_STMT_DYNEXECUTE

Reported by Anders Granlund.