cvsserver: Remove trailing "\n" from commithash in checkin function