Weyerhaeuser reports loss in fourth quarter