Modify the dso rule to allow spaces in [] names.

Some of the map names have spaces in them, but only the ones that look
like:

[anon:atexit handlers]

So allow spaces between a [ and a ].

Change-Id: I09f1b50533fcd2e79acda199dcc3fb99c6d8428f
diff --git a/scripts/stack_core.py b/scripts/stack_core.py
index 963f7d5..8da0109 100755
--- a/scripts/stack_core.py
+++ b/scripts/stack_core.py
@@ -91,7 +91,7 @@
         "[ \t]+..[ \t]+"                                     # (space)pc(space).
         "(?P<offset>[0-9a-f]" + self.width + ")[ \t]+"       # Offset (hex number given without
                                                              #         0x prefix).
-        "(?P<dso>[^\r\n \t]*)"                               # Library name.
+        "(?P<dso>\[[^\]]+\]|[^\r\n \t]*)"                    # Library name.
         "( \(offset (?P<so_offset>0x[0-9a-fA-F]+)\))?"       # Offset into the file to find the start of the shared so.
         "(?P<symbolpresent> \((?P<symbol>.*)\))?")           # Is the symbol there?
                                                              # pylint: disable-msg=C6310