opkg_cmd: fix return of opkg compare-versions