The grittiness from the hot chocolate mix usually goes away after the macarons mature, but you can also warm the heavy cream and stir in the hot chocolate mix to remove the grittiness. Make sure you let it cool completely before adding it to the filling.