pios f3: added full ahb and apb reset cycle on boot

This is meant to fix potential glitches after a core-only reset.
This is supposed to address #371.
If resting shows that this is working, i will add it for f1 and f4 as well.