test: fix GC test for systems without POSIX_MQ#to_io