split a part of kern_get_datum_rs() to kern_get_datum_tuple()
a workaround commit