scripts: dts: Add special handling of '+' in 'str_to_label' function

This patch is needed in order to get compilable macros for compatibles
like "arm,cortex-m0+".

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
1 file changed