[modules] When a .pcm file is explicitly built separately from the translation
unit, allow the -O settings of the two compilations to differ.