layers: hold UO dispatch tables by value in layer_data

Trims out some allocations; fixes leak of dispatch tables
diff --git a/scripts/unique_objects_generator.py b/scripts/unique_objects_generator.py
index a08276f..d53c3bc 100644
--- a/scripts/unique_objects_generator.py
+++ b/scripts/unique_objects_generator.py
@@ -904,7 +904,7 @@
                     else:
                         paramstext = paramstext.replace(param.name, '(%s %s)local_%s' % ('const', param.type, param.name))
             # Use correct dispatch table
-            API = cmdinfo.elem.attrib.get('name').replace('vk','dev_data->dispatch_table->',1)
+            API = cmdinfo.elem.attrib.get('name').replace('vk','dev_data->dispatch_table.',1)
             # Put all this together for the final down-chain call
             self.appendSection('command', '    ' + assignresult + API + '(' + paramstext + ');')
             # And add the post-API-call codegen