Remove casting of return value from *alloc() functions.