Buy them with what? The implication is that nobody wants to accept Ghana currency.
But using the gold for currency does sound like it could be more efficient, cutting out the middleman.
Note: normally countries maitain a float of foreign reserves for this, and I'm guessing this stash of economic lubrication has run a business dry for Ghana and they don't have the luxury of rebuilding their reserves, and hoping to use gold as a more immediate solution.