rdma-core: add debug build option