(Rice) Rewrite min/max usage in DirectXDecodedMux to increase compiler
portability