[Ameba] Implement erase partition in Abort function (#20741)
[Ameba] Implement erase partition in Abort function (#20741)

* [OTA] Implement erase partition in Abort function

* [OTA] Increase delay before reboot to 10 seconds
- This allows time to send out events, for eg state transition from downloading to applying

* Restyled by clang-format

Co-authored-by: Restyled.io <eb8d3fd3977bb570908ffc25e24391520747defb@restyled.io>
project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip