HNumber: Fix from_integer impl.