Make DropRootUser more container-friendly

When Android is running as a container, it might not have CAP_SYSLOG
(since all the checks in the kernel are performed against the init
namespace). This change makes DropRootUser not raise CAP_SYSLOG if it
wasn't present to begin with.

(cherrypick of 05d74917546ee1bfb8d45e6b79c6c433874d6e77)

Bug: 74568776
Test: DropRootUser no longer returns false when run in a container
Change-Id: Ia54ea81f51cc602c6304a81f50a55b2ccde7df36
Merged-In: Ia54ea81f51cc602c6304a81f50a55b2ccde7df36
1 file changed