ar71xx: fix a legacy image porting issue