ramips: convert mt7628 to new image building code