taggant_types: fix 64-bit sizeof(long) issue