plsql: fix Table Of Record type error in generated PL/SQL code