powercap-common: assert errno on error return code from snprintf
powercap-common: assert errno on error return code from snprintf

As in powercap-sysfs, this condition should never occur.

powercap/powercap,connorimes/powercap