make: term depends on flash

If you provide both `flash` and `term` as Make goals, then `term` needs to wait for flash.