Bitdeer grows revenue but books losses in Q2