Merge "libdm: Fix WaitForFile early-returning on failed accesses." into rvc-dev