target-arm: Implement pmccntr_sync function