Fix reversi log writing and reading mishandling passes.

Reported by winsoy@ptt.cc, #1HmsFTVD & #1HmyOca7 (PttBug)



git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5848 63ad8ddf-47c3-0310-b6dd-a9e9d9715204