Input: apm-power - fix crash when unloading modules