x86: Remove stubs and add actual syscalls to fix the build

Change-Id: I1028cebf9de240a2fbdcc5d36ef120bf26564fc9