[PATCH 4.14 18/66] Input: powermate - fix use-after-free in powermate_config_complete