core: EvalWriteOutput handle dynamic pseudo-type
core: EvalWriteOutput handle dynamic pseudo-type

This should actually have been caught by !val.IsWhollyKnown, since
DynamicVal is always unknown, but something isn't working quite right here
and so for now we'll redundantly check also if it's of the dynamic
pseudo-type, and then revisit cty later to see if there's a real bug
hiding down there.

hashicorp/terraform-plugin-sdk,hashicorp/terraform-plugin-sdk