cleanup: Constify the first cursor parameter to hed_file_insert_begin