fix(kernel/context): unused var warning in release mode

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(kernel/context): unused var warning in release mode