Fix warnings due to missing portPOINTER_SIZE_TYPE
* Add definition in MSP430X port
* Add missing casts