libdbusmenuqt: reduce atomic refcount operation

Reason for the change

Atomic refcount operation is more expensive than swapping d-ptr.

Test plan

Screenshots or screen recordings

Bugs fixed

Merge request reports

Loading