The company posted a quarterly record $127 million impairment on its bitcoin holdings