sdm: Align GetFirstDisplayInterfaceType() with unit test framework

1. Read msm_fb_type from appropriate sysfs node.
2. Use Sys::Close_() instead of close() while closing fds.

Change-Id: Id8dd4320d995f58b973fbb31ecf4e30d52ce1151
CRs-Fixed: 1005180
1 file changed