[test.cpp] Add missing include (make_xsafe)

12 jobs for 14-automatic-array-casting-in-c-does-not-work in 61 minutes and 47 seconds (queued for 3 seconds)