reduce compiler warnings for macros BufAlloc, Data and Data32 using casts

Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
6 jobs for compiler-warnings in 6 minutes and 13 seconds (queued for 2 seconds)