Trivial fix of a variable name

for an error when used in AMD fashion