Updates OsTest to handle NETLINK_ROUTE restrictions.

Non-system apps targeting the latest SDK are no longer able to
bind() to NETLINK_ROUTE sockets (see https://r.android.com/1219477).

Bug: 141455849
Bug: 148621612
Test: atest CtsLibcoreTestCases:libcore.android.system.OsTest
Change-Id: Ie4a5321711d5fda5c8df9004b41988f8521e53ea
1 file changed