pseries: Convert VIO code to QOM style type safe(ish) casts