Value: Don't try to marshal if type has no StructLayout

If the StructLayout is not set StructureToPtr will throw an exception, in these cases the type is probably wrapped using a handle and thus needs no update