ioreg: Add dump support