field.c: Convert external-format field element to hex/octal.