Update keymaster and gatekeep to be compatible with latest TEE Internal Core API
From optee-os v3.21, latest TEE Internal Core API was updated to version 1.3.1. Update keymaster and gatekeep ta's accordingly.
Tested on i350-pumpkin
Signed-off-by: Vitor Sato Eschholz vsatoes@baylibre.com