c_check: set $hostarch to x86_64 instead of amd64

`uname -m` returns "amd64" on some systems.
Merge pull request #471 from nolta/patch-4

c_check: set $hostarch to x86_64 instead of amd64