Fix malloc(0) warning in clang.