linux: Clear media states on flush

This should cope with some instabilities on IVB (therefore also Baytrail). 

It needs regression testing on:

- Chromebox 2955U
- Pike's SNB
- An IVB System from the forum (older nuc)
- Some NUC with core hsw gpu

@sraue Can you provide a testbuild?