[libcontacts] Only index non-empty address elements