linux: some PKGBUILD fixes and re-add the syscalls.h revert

git-svn-id: file:///srv/repos/svn-packages/svn@209667 eb2447ed-0c53-47e4-bac8-5bc4a241df78