cortex_m: change cmd output to use cortex_m rather than cortex_m3