tu/a7xx: Fix occlusion queries on pre-A740 GPUs
What does this MR do and why?
CP_EVENT_WRITE7::WRITE_SAMPLE_COUNT is supported only starting from a740, previous GPUs use RB_SAMPLE_COUNT_ADDR.
See: https://github.com/yuzu-emu/yuzu/issues/11958
WIP because I need a confirmation that it works.
Edited by Danylo Piliaiev