testing/ledmon: upgrade to 1.0.0, fix build with gcc 14
https://github.com/intel/ledmon/releases/tag/v1.0.0
Fix rebuild errors with gcc 14. The basename patch employs basename
from libgen.h
as it was already being used in other parts of the source.