ar71xx: port wndr3700/3800 to the new image building code