shared: Add helper for looking up debugfs mount point