[PATCH 4.19 07/41] reset: Fix crash when freeing non-existent optional resets