parseutils: fix discarding const attribute warning