dmalloc: Add patch to fix issue with parallel build

The compilation of dmalloc.cc needs dmalloc.h, which is a generated
header, so it has to be declared as a dependency. Without this patch
sometimes the build of dmalloc fails if the header happens to be
generated later or slower than usual.