build: Reduce binary size by optimizing for size in the SQL transpilation (#28336)