REIT turns a profit in Q4 2022 despite weaker origination business