Remove useless (void) casts.

Suggested by mpi@