Fix Data.findFirstTypeMismatch to check all elements of Bundles (#3928) (#3929)

(cherry picked from commit 6dfc0470)

Co-authored-by: Jack Koenig <koenig@sifive.com>
8 jobs for 5.x
in 0 seconds and was queued for 110 minutes and 57 seconds