Anelastic measurements of defects related to substitutional Pr in Y0.7Pr0.3Ba2Cu3O6+x