sh: make set_perf_counter_pending() static inline.