[cast] Fix track switch
Created by: bbert
This PR is fixing a bug at track switching while casting on a cast device.
It also enables config parameter flushBufferAtTrackSwitch
on player in receiver application to make immediately effective track switch on cast devices