icom: fix compile errors when defining ICOM_TRACE