Fix test_filter_ipc for cleared supplementary groups

This should fix part of [https://github.com/zeromq/libzmq/issues/1129].