core: fix reference counting in tee_tadb_open()
core: fix reference counting in tee_tadb_open()

Fixes reference counting error in tee_tadb_open() that was exposed by
commit 99f969dd6c99 ("core: fine grained tee_ta_mutex locking")

Fixes: 5baee69a0140 ("core: add tadb")
Tested-by: Jerome Forissier <ced78d268b4c9a0a20a59a9feeebd2ad90da03d3@linaro.org> (HiKey)
Tested-by: Jens Wiklander <7706914404370d7502c27a0eff493dcf491feb51@linaro.org> (QEMU v7)
Reported-by: Andrew Davis <acf707fe2e889d165f9bd3e8af9a3c0450366f8d@linaro.org>
Tested-by: Andrew F. Davis <a6dfde0ec5c5124d26ab0cb4f9ab9a758dee1d6f@ti.com>
Signed-off-by: Jens Wiklander <7706914404370d7502c27a0eff493dcf491feb51@linaro.org>

pascal-brand-st-dev/optee_os,pascal-brand-st-dev/optee_os,pascal-brand-st-dev/optee_os,pascal-brand-st-dev/optee_os,pascal-brand-st-dev/optee_os