Move the PROV_R reason codes to a public header