[Tizen] Check signature value using xmlsec1 library

Based on API provided by xmlsec1 library, signature value and reference
are checked.
```
if (fw && !fw->released) {
  output = xmlFileClose(fw->file);
  delete fw;
}
```