Work around readdir_r warnings until we upstream a fix.

Bug: http://b/32678321 (deprecate readdir_r)
Bug: http://b/72326431 (upstream a proper fix to wpa_supplicant)
Test: builds, boots
Change-Id: Idbf70e2a4540f8219dee393677bd78f4d3a65096
2 files changed