stmhal: Add pyb.stop() and pyb.standby() functions.