Include <sys/types.h> to get ssize_t in regsgen2.

This unbreaks regsgen2 build on Mac OS.

Change-Id: I9700030bbaa37924c1f3be8c0656fc3ba5a88c44