Add `AbsoluteDirection::to_uint()`