[rilmodem] fix group queue cleanup

Signed-off-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>