Enchanting: cast the enchant points for the item to int (Fixes #2202)