stmhal: Fix setting of RTC: was BCD now BIN encoded.

Addresses issue #592.