Extend item flag enum to more than 32 values.

Changed mfb and item_flag types to unsigned long long.
Expand item flags to 64 bits.