hds-v5: Fix hdsErase error reporting logic