[PATCH 5.10 04/75] reset: Fix crash when freeing non-existent optional resets