Print errors to stderr instead of stdout
link51: use the error reporting functions for unresolved symbols

link51 was using printf() until now.
link51: better error diagnostics for invalid 11-bit fixup