redis-check-dump: fix function prototypes

Currently these functions can take an arbitrary parameter, change this
by explicitly specifying that they only accept void as a parameter.

Make some of these functions static