Fix strdup() when used in QVM code (return func() appears broken).
Fix up VM memory pool initialisation.