toolchain/ld: keep flash config section
toolchain/read-ld: don't keep sections that don't exist