Fix use of buildPerModuleDefaultPipeline with -O0
Fix use of buildPerModuleDefaultPipeline with -O0

According to the docs, this combination is not allowed.
We use buildO0DefaultPipeline instead in this case.

PiperOrigin-RevId: 462191359

google/xls,google/xls,google/xls,google/xls,google/xls,google/xls