Ignore EINVAL errors while dropping unsupported capabilities.
Merge pull request #1 from vmarmol/ignore-unsupported

Ignore EINVAL errors while dropping unsupported capabilities.