This fixes a bug where printing a register upcasted from Rl to Rb would cause a segfault.