main/libcrystalhd: fix build on non-x86 machines

also remove unused patches