[PATCH 4.9 27/61] powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code