commit: remove unused function clear_commit_marks_for_object_array()