[PATCH] dbghelp: tidy up internals for array type