Avoid unnecessary copying while iterating the class table

Missing `&` would imply we are copying the slots in the loop.

Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Bug: 175869411
Change-Id: Idbb84500080b227ae4384e9e878c143d7209e514
1 file changed