cue: fix Value.ReferencePath on top level value
This fixes Value.ReferencePath so it works correctly
on top level references.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: I478f4e9aa16042067835b665fdba284592b79e7d
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1232508
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>