[package] dialog: fix compile

patch from: https://dev.openwrt.org/ticket/14799

fixes: https://dev.openwrt.org/ticket/14738