sim: cpu_sim: Fix headers to build with g++