Remove malloc cast

Not needed; see http://stackoverflow.com/questions/605845/do-i-cast-the-result-of-malloc