scripts: zephyr_flash_debug: refactor Nios II runner

Prep work for adding debug and debugserver support. No significant
functional differences.

Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
1 file changed