Add GPIO definitions for stm32f1xx MCUs.

Based on stm32 datasheets.
Use _BASE suffix for base addresses, for consistency with gpio.h

gpio.h itself based on existing open-source code.
Move common types/definitions to separate header.