make: `term` depends on `flash`

If you provide both `flash` and `term` as Make goals, then `term` needs
to wait for flash.
Merge pull request #2124 from Kijewski/all-flash-term

make: term depends on flash