encoding/xml: reject > chain with non-element

Fixes issue 5033.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7764044