Fixed segfault error for native daemon.
It was caused by PAPI's resource leak (FILE pointer in linux-micpower.c).
This has also been reported in papi bug tracking system.

The daemon should now work. Will add a test on libEnergyStat library
later.