replmd: Split up replmd_verify_linked_attribute() into src/target checks