libcutils: reimplement property_list() using __system_property_foreach()

Signed-off-by: Greg Hackmann <ghackmann@google.com>

(cherry picked from commit e7bb159d16f9e60850a3c79cc388587959015a65)

Change-Id: I0f66144eb8a4a48e04e4fcd125ad37f19ad94b8e
1 file changed