Log protected forests to keep timber mill open, Deputy Prime Minister Barnaby Joyce says