opkg: reuse the installed_files list when possible
rebuilding it for every single file in a package
adds a lot of overhead, especially when updating
packages containing large numbers of files

Signed-off-by: Andy Blackburn <andrew.blackburn644@btinternet.com>