Fix compilation errors for example romdisk
Fix compilation errors for example dram-cartridge
Fix compilation errors for example gdb
Fix compilation errors for example game-inkfill
Update common Makefile