Old releases (10.3 and before) wrote out the runtime
DataTypeDescriptor for routine parameter and return types.
10.4 onwards (DERBY-2775) always writes out the catalog
type TypeDescriptor. Here we see what object was read from
disk and if it was the old type, now mapped to OldRoutineType,
we extract the catalog type and use that.