cros_ec: Add a function for decoding the Chrome OS EC flashmap