Fix test_filter_ipc for cleared supplementary groups

This should fix part of [https://github.com/zeromq/libzmq/issues/1129].
Merge pull request #1260 from abbradar/master

Fix test_filter_ipc for cleared supplementary groups