Add __STACKTOP__ to linker scripts, implement fputc for BBC machines.