stmhal: Wrap DAC module and os.urandom in relevant #if's.