pcnt: properly clear interrupt status in pcnt_intr_service
pcnt: properly clear interrupt status in pcnt_intr_service

status is 0 when pcnt_hal_clear_intr_status() is called and so the
interrupt will be triggered immediatly again. Store the original
status and pass this as mask to pcnt_hal_clear_intr_status().

Merges https://github.com/espressif/esp-idf/pull/5929

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf