Fix various compilation warnings

This will fix the following warnings:

saverio@nockid:~/SORGENTI/dbeacon$ make
g++ -g -Wall -O2   -c -o dbeacon.o dbeacon.cpp
dbeacon.cpp: In function ‘void d_logv(int, const char*, __va_list_tag*)’:
dbeacon.cpp:250:23: warning: format not a string literal and no format arguments [-Wformat-security]
dbeacon.cpp: In function ‘void do_dump()’:
dbeacon.cpp:1497:93: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t {aka long unsigned int}’ [-Wformat]
dbeacon.cpp:1524:66: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t {aka long unsigned int}’ [-Wformat]
dbeacon.cpp:1525:77: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t {aka long unsigned int}’ [-Wformat]
dbeacon.cpp:1549:65: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t {aka long unsigned int}’ [-Wformat]
dbeacon.cpp:1551:76: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t {aka long unsigned int}’ [-Wformat]
g++ -g -Wall -O2   -c -o dbeacon_posix.o dbeacon_posix.cpp
dbeacon_posix.cpp: In function ‘int RecvMsg(int, address&, address&, uint8_t*, int, int&, uint64_t&)’:
dbeacon_posix.cpp:286:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
dbeacon_posix.cpp:300:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
g++ -g -Wall -O2   -c -o protocol.o protocol.cpp
g++ -g -Wall -O2   -c -o ssmping.o ssmping.cpp
g++ -g -Wall -O2 -o dbeacon dbeacon.o dbeacon_posix.o protocol.o ssmping.o 
saverio@nockid:~/SORGENTI/dbeacon$