Remove unnecessary float casts.