Adds a lock to the flush() method of the AR HAL

Bug: 34801522
Change-Id: I38abc33202719767b5ab18c5a68d4b3cbcbe4877
1 file changed