Fix literal handling for views of empty Aggregates (#4071) (#4075)

Previously, a view of an empty Record or Vec would always have a
litValue of 0.

(cherry picked from commit 11c3f51c)

Co-authored-by: Jack Koenig <koenig@sifive.com>
9 jobs for 6.x
in 0 seconds and was queued for 92 minutes and 56 seconds