Revert "Resolves: #1760300 - use statx instead of stat when available"
This reverts commit 5cd3289cea3a3875ea438e4d22b091f1215dcab8 because it
does not work well in containers hosted on RHEL-7, as reported in RHBZ:
https://bugzilla.redhat.com/1760300#c5