cmd646: fix abort due to changed opaque pointer for ioport read