drm-shim: implement stat/fstat when xstat variants are not there
Signed-off-by:Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 02709506 ("drm-shim: fix compile with glibc >= 2.33") Acked-by:
Emma Anholt <emma@anholt.net> Reviewed-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <!12129> (cherry picked from commit f86faee9)