stmhal: Include mpconfig.h before all other includes.

It defines types used by all other headers.

Fixes #691.