lib/bootconfig: Fix to remove tailing spaces after value