Fix the implementation of load and store fences on x86.  Also fix the patch headers.