qemu.py: handle kernel bug when counters may fail to open