DERBY-814 - Prevent unneeded object creation and excessive decoding in parsePKGNAMCSN() port from trunk. Contributed by Knut Anders Hatlen Ported by Deepa Remesh.