rather than sell the gold outright, the miners deposit it with the bank and then take out loans secured with gold present at the banks.
There has been no attempt by firms to take loans out on their entire annual output, but only to cover operational costs alone.