Fix ambient capability tests on older systems.
Fix ambient capability tests on older systems.

If the kernel doesn't support ambinent capabilities we were leaving
stale capabilities in the ambient set from a precious check, causing
the later tests to fail.

Review: https://reviews.apache.org/r/60288/

reneploetz/mesos,asamerh4/mesos,asamerh4/mesos,neilconway/mesos,andschwa/mesos,neilconway/mesos,dforsyth/mesos,verizonlabs/mesos,zmalik/mesos,dforsyth/mesos,neilconway/mesos,neilconway/mesos,gsantovena/mesos,abudnik/mesos,gsantovena/mesos,abudnik/mesos,verizonlabs/mesos,asamerh4/mesos,andschwa/mesos,reneploetz/mesos,Gilbert88/mesos,gsantovena/mesos,jpeach/mesos,dforsyth/mesos,andschwa/mesos,reneploetz/mesos,Gilbert88/mesos,reneploetz/mesos,chhsia0/mesos,gsantovena/mesos,abudnik/mesos,abudnik/mesos,zmalik/mesos,abudnik/mesos,kaysoky/mesos,dforsyth/mesos,neilconway/mesos,zmalik/mesos,verizonlabs/mesos,reneploetz/mesos,asamerh4/mesos,dforsyth/mesos,jpeach/mesos,andschwa/mesos,andschwa/mesos,gsantovena/mesos,jpeach/mesos,andschwa/mesos,Gilbert88/mesos,chhsia0/mesos,verizonlabs/mesos,chhsia0/mesos,zmalik/mesos,andschwa/mesos,asamerh4/mesos,reneploetz/mesos,verizonlabs/mesos,reneploetz/mesos,chhsia0/mesos,jpeach/mesos,Gilbert88/mesos,gsantovena/mesos,Gilbert88/mesos,chhsia0/mesos,dforsyth/mesos,dforsyth/mesos,abudnik/mesos,kaysoky/mesos,jpeach/mesos,jpeach/mesos,jpeach/mesos,verizonlabs/mesos,gsantovena/mesos,Gilbert88/mesos,kaysoky/mesos,verizonlabs/mesos,chhsia0/mesos,zmalik/mesos,asamerh4/mesos,abudnik/mesos,kaysoky/mesos,neilconway/mesos,kaysoky/mesos,zmalik/mesos,kaysoky/mesos,zmalik/mesos,chhsia0/mesos,Gilbert88/mesos,kaysoky/mesos,neilconway/mesos,asamerh4/mesos