Fix another crash caused by timing between viewWillAppear and preparePhotos

[self numberOfSectionsInTableView:self.tableView] returns more than
self.tableView.numberOfSections while preparePhotos is adding assets
from another thread