cortex_m: fix VECTRESET detection for ARMv6-M cores