[PATCH v2 1/3] tee: optee: Move pool_op helper functions