Handle empty processing instructions in the SAX parser.

This fixes #845 and prevents a segfault.