GetFullNameForCastLogError

Helper function to get the full name for UObjects and UInterfaces.