Ariana Grande wore the same dress as Jennifer Garner's 13 Going on 30 character while judging The Voice's first live show