MFC r268727 (by delphij):

Add a bandaid to fix GCC build (on sparc64 et al).
MFC r269122:
Fix infinite loop, when doing WRITE SAME on file-backed LUN.