update the check method for debugfs

On some platforms old methods can't find debugfs correctly,
so a new way via /proc/mounts is used to find debugfs path.

Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
4 files changed