Revert "esp_partition: disable encrypted reads/writes if flash encryption is disabled"
Revert "esp_partition: disable encrypted reads/writes if flash encryption is disabled"

This reverts commit bf35ef1ce7b7db30d499d4058d6a4f39ba467fca.

It has been noticed that there are scenarios where even though firmware is not enabled
with flash encryption config feature, it should be able to write to encrypted partitions.

This revert adds the feature back which was removed around v4.0 timelines, and same
change will be backported to all releases (upto v4.0) for consistency.

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf