ramips: get rid of platform_pre_upgrade()