opkg: set PKG_UPGRADE also when running scripts for the old package