Linux: fix handling of zombie processes

This fixes playback on NVidia Linux with driver >= 317
Changes from master #2731 and #1892