Fix GCC return-type warnings in mediaserver_manager.h