build: Fix for BSD make.
* doc/Makefile.am (errorref.txt.x): Don't use $<.
Variable $< is only valid for suffix rules in BSD make.