[PATCH v6 021/102] x86: sandbox: Add a PMC emulator and test