sdm: Use fstream to read sysfs entries.

- Replace FILE operations with fstream templates to read sysfs entries.

CRs-Fixed: 1029997
Change-Id: I5603617cbada01a4651394577bed56de38f9f060
8 files changed