Fix truncation of fourcc value in dshow capture property setter (bug #2535)

Added test checking that all valid fourcc values are converted properly