lib/param: fix function name (set_variable) in debug statements