POWER: fix compile warnings in log_wakeup_reason