target/cortex_m: fix cortex_m reset_config help and check for syntax error