[sdb] Fix round tripping of vtypes with boxed fields. Fixes #12354.