CM3: move the Cortex-M3 generic hardware macros to a distinct file.