Kill stdint usage.
- Use regular ints everywhere an int is required.
- Use unsigned ints for bitfields.