Cosmetics: Remove two useless casts.