libexecinfo: fix build on SunOS

fix build on SunOS