AttributeSet::get(): Fix a valgrind error. It doesn't affect actual behavior, though.