Implementing `Kernel.gets` loop in RPython and moving it to the right spot