dbcheck: add forward_syntax argument to err_orphaned_backlink