Fix AsmWriter's handling of SPIR calling conventions. Patch by Boaz Ouriel.