Add fallback for cases when /etc/mtab doesn't exist
stat
requires /etc/mtab
to be present or if fails, which causes build failures in Apertis.
In order to avoid that, patch this utility so it falls back to /proc/self/mounts
in case /etc/mtab
isn't available.
Edited by Arnaud Ferraris