[PATCH v3 12/12] tee: refactor TEE_SHM_* flags