[package] button-hotplug: fix compile warnings