Remove unnecessary int cast

Since depth / ONE_PLY is now an int, we can remove these casts, while making
the code less ONE_PLY dependant.

No functional change.