Fix compilation with debugfs disabled

Change-Id: Ib08b971db40d8c8305475225f15eaa40429323b7