target/arm/kvm: pmu: improve error handling