[PATCH 11/17] sandbox: cros_ec: Update error handling when reading matrix