Modify the mappedBy type checks introduced by https://hibernate.atlassian.net/browse/HHH-16313 to be more lenient in case of subtypes or entity types which map to the same table.