Remove dead null-check branches in Worker::do_move
search() and qsearch() dereference ss (ss->inCheck) before any do_move
call, and every do_move call passes that ss, so the `ss != nullptr`
guards never fail. Remove them and take `Stack& ss`.
With the guards gone, pc and to are in scope for the whole function, so
reuse them instead of dirtyPiece.pc and move.to_sq(). Position::do_move
sets dp.pc = piece_on(from), which is what moved_piece(move) returned
before the move, so the table indices are the same.
closes https://github.com/official-stockfish/Stockfish/pull/7348
No functional change