HPCC-8774 Always defined type_t as an enum

This isn't stored in any persistent form, so changing the type
doesn't have any effects.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>