editor: use Qt's sized integer instead of stdint.h

We get stdint.h included though include/base.h, but it's slightly
cleaner to not make this assumption. Qt already provides suitable
typedefs.