hwmon_ffdc: fix compile fail with newer glibc

An upcoming Yocto update reveiled a compile failure due to ignoring the
return value from `pclose` when used as a unique_ptr deleter.  Switch
to a lambda indirection where the return is explicitly ignored.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ifa5d3f346f75d37075df78acf916dde8fc1ead69
1 file changed