[DF-5115] fix occlusion query manager for MacOS and iOS
Merge branch 'frame_stats' of https://github.com/dava/dava.framework into frame_stats