res_ari.c: Add missing off nominal unlock and remove a RAII_VAR().