pistachio: return kip structure from get_kip

to avoid lot of unnecessary casts afterwards

Issue #798
pistachio: exclude io memory from ram allocator

Fixes #798