stmhal: For non-debug compile, enable CC/LD opt to remove dead code.

Saves over 35k ROM due to elimination of unused HAL functions.  All
tests pass.

Addresses issue #702.