[build] Use __SIZE_TYPE__ macro in definition of size_t