ramips: modify {read,write}_config helpers