Check for memset_s availability the hard way.