Replace void casts with GIT_UNUSED.
Merge pull request #2572 from cirosantilli/factor-void

Replace void casts with GIT_UNUSED.