Common: Move header guards over to pragma once.

Also converts C header includes into their C++ equivalents. Brings it a little more up to date with the current Common.