BatchStore: Stop using deprecated RefDatabase#getRefs Change-Id: Ie1b9ebd194a4ca2542d9aaf5c59c71dfbb361676