[gril] Fix 'unused variable' compiler warning

Signed-off-by: Martti Piirainen <martti.piirainen@oss.tieto.com>

Warning was accidentally introduced in PR#170.