Fixed bad downcast caught by mame64d -validate (nw)