Add cancel_pending_computer_moves utility methods

Also, properly use it at the start of computer_move_cb

This should avoid the situation where computer_move_cb gets called
multiple times in succession.