Fix F4 Discovery header guard.
GPIO: use PD2 in F1 Discovery instead of PB4.
Applications: Don't initialise USB on F1 Discovery.
GPIO: fix indexing. Add asserts.