Includes: General cleanup

- If types.h or inttypes.h is included, don't include stdint.h
- Remove same file duplicate includes