The bounded parser for embedded SVG checked each nested SVG image
against MAX_XML_DEPTH on its own. Nested images are parsed on top of
their parent's recursion, so 32 levels of images could reach the XML
parser about 16,000 elements deep, past what its stack holds. Pass the
depth the enclosing drawings leave down to each nested image, as main
now does for the ordinary parser.