fix most gperf cases, improve bench cmd handling

gperf should skip empty keys
set the correct fn from a proper dict filename.

bench: do not compile empty phash.c files