reflog-walk: clean up "flag" field of commit_reflog struct