opkg: work around a gcc warning bug related to array bounds checking