After rL368069 I noticed that HAVE_SYS_TYPES_H is not defined in
Platform.h, or anywhere else in lldb. This change fixes that.
Woops, this is quite embarrassing. :/
One day we should audit these to check which of these files really needs to include this header, but since there are at least some files that definitely need it, adding the cmake check is the right way to go...