movegen: Fix just introduced move counter bug