acer-wmi: fix memory leaks in WMID_set_capabilities and get_wmid_devices