stmhal, math: Define _M_LN2 if not already defined.

Addresses issue #790.