fix double definition error (for c++) and cast to void* warning in -peda...

Hi, I got an error when compiling mongoose.c with a C++ program. `static struct ssl_func ssl_sw[30]` was double-defined. This is a blocker for C++ development. I removed the extra definition. There was also a warning about casting integer to void* which I removed by casting to intptr_t first.