media_server: fixes 64 bit warnings