[PATCH 3/4] xilinx: versal: Add support for saving env based on bootmode