Embedded Windows makes it is easy to find experienced programmers (UI & backend) and has very good development tools. You don't have a single program running and can remove services not needed, so it isn't that hard to lock down to make it quite safe.
Additionally, XP Embedded left "mainstream" support in 2011, and has "extended" support until 2016. It was my understanding that nearly all references to "XP" on ATMs referenced XP Embedded, and the sun-setting of support is only for standard XP.