Fix a few memory leaks in CodeGenRegBank.