[libvirt] [PATCH 04/10] fdstream: Add internal function to check if a fdstream is open