Fix a potential performance problem in placing ARM constant pools.