type casts for Win32 / release memory for intraPredMode array