[ItemData] Define a cast operator: int.

The purpose of this operator is to remove macros below.

GET_INT_FROM_GRP()
DEFINE_AND_ASSERT()