Includes: General cleanup

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