(#23269) Handle non-utf8 in dmidecode/smbios output

Some hardware can emit DMI tables that contain arbitrary binary data,
which can cause string operations like String#split to fail if the
string is UTF-8. This ensures that the output of dmidecode or smbios is
always handled as a binary string.