lpar plugin: Fix error handling of the "perfstat_partition_total" function.