Bugfix: fixed transform plugins' use of per-PG metadata. Some metadata writers were using non-standard void* + offset, and most readers were using the transform metadata of the first PG in all cases, rather than the transform metadata for the current PG (this information was only recently made available to plugins)