memory: implement xmemrchr()
rstream: implement rstream_read_lines()

Give RStream clients a way of accessing the data in a line-wise fashion.
#1243: Set v:job_data[2] line-wise.