Bug 1063786 - Support nested symbol definitions in the SWF parser. r=tobytailor

Alternative implementation to the fix from #1700.