properly obtain codes from Buffer for Dell's WMI

Trim away the extended part of the code (ie 0xE005 to 0x05) to match
plugins for other OEMs.