Micro-optimize do_castle_move()