security/libbeid: Add <stdlib.h> header for malloc
The existing patch removed "<malloc.h>" but didn't provide "<stdlib.h>".
Adjust to compound patch to fix that oversight.
FWIW, the extra work to partially fix a patch is one reason I don't like
one-patch-many-files. It's not the only reason.