[PATCH 5.8 160/177] debugfs: Fix module state check condition