Only attempt to set default sample count if supported.