Merge "fstrim.c: use open(O_DIRECTORY) instead of stat"