Freddie Mac posts $3.8B Q2 profit on credit reserve release