megacd: fix crash introduced by gfx_element commit (nw)