scripts: extract_dts_includes.py: Fix names generation

This patch fixes issues with the IRQ definitions when using
the interrupt-names property in the DT entry.

Signed-off-by: Andy Gross <andy.gross@linaro.org>
1 file changed