[mednafen] Fix error compiling with GCC 6.x on Fedora 24