internal/encoding: use encoding/yaml rather than pkg/encoding/yaml
The latter is meant to provide builtins for CUE packages, and not
really to be used to encode and decode between CUE and YAML in Go code.
Right now both behave the same, so this change does not alter behavior
in any way for cmd/cue or cue/load users.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ia9a15f336679e7d46353819d6a59e4f49f4c3607
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199701
Reviewed-by: Paul Jolly <paul@myitcv.io>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>