hwbuffer: use defines for mutex and cond: fix build without USE_IOMX.