[Linaro-mm-sig] [PATCH v3 2/4] optee: account for direction while converting parameters