[MP] Fix a few gcc warnings in server demo code