Replace void casts with GIT_UNUSED.