[libvirt PATCH 2/2] tests: Improve macOS stat() mocking logic