xfs: add const qualifiers to xfs error function args