metadata: Cosmetics.

Change the type of a variable to a typedef which was set before.