The proposed logging of thousands of acres of old-growth forest in the US state of Oregon has been blocked by a federal appeals court because of the threat to protected salmon.