core: Fix EnergyManagement helper condition

There is no such thing as G_OS_LINUX. Use __linux__ instead.

Signed-off-by: Jens Georg <mail@jensge.org>