ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.sh