arm64: head: fix cache flushing and barriers in set_cpu_boot_mode_flag