powerpc/powernv: Add error handling to opal_prd_range_is_valid