Don't use std::result_of It's removed in C++20 Bug: 175635923 Test: m libidlcli Test: m lshal Change-Id: I4301ad34a1c5db73530cefdbba3968bc3ac3c0a2