[PATCH 3.16 293/328] PM / core: Clear the direct_complete flag on errors