Don't pass NULL to fprintf, if XLogReadRecord didn't set error message.

Per dev1ant's bug report, issue #41.