Fix broken tests in libandroidfw_tests

Due to the output format changes, revise the PosixUtils_test to fix
the failures.

Fix: 203494455
Test: atest libandroidfw_tests
Change-Id: I6e84f8011031162f9e46aa89ddf8d3f3b9863251
1 file changed