Surpress pointer to uint32_t cast warning. Since these code is only for ARM architecture, we should use 32bit unsigned integer to store address. However, this casting may cause compilation warning on the other platform. So we are going to cast to uintptr_t then truncate to uint32_t. Change-Id: I5f43f57306e2a1eac75708dd59fd8599d046aad9