Fix misc warnings in artifact.cpp

Just some unsigned issues here.