src/{device,drivers}: Use 'include <stdlib.h>' when appropriate

Also, including <types.h>, is supposed to provide stdint and stddef.

Change-Id: I99918a5a77e759bc7d4192d2c3fd6ad493c70248
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33681
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
diff --git a/src/drivers/smmstore/store.c b/src/drivers/smmstore/store.c
index 3922746..dc4a0cf 100644
--- a/src/drivers/smmstore/store.c
+++ b/src/drivers/smmstore/store.c
@@ -18,6 +18,8 @@
 #include <commonlib/region.h>
 #include <console/console.h>
 #include <smmstore.h>
+#include <stdlib.h>
+#include <types.h>
 
 /*
  * The region format is still not finalized, but so far it looks like this: