Riot's after-hours rally pushed its market value sharply higher, despite a quarterly net loss of $237 million.