The backup lead doesn't draw much if any current so , so long as you're careful you could use a couple of resistors from the 24V backup lead wired as a voltage divider to supply the 12V backup. The 3 cent fix.
In fact a 12V Zener diode and resister would be better. Cost $1 more.
Steve