Remove useless cast of malloc result