spapr: fix possible Negative array index read