SPV_OPERAND_TYPE_TYPE_ID is used for the type of the operand to OpReturnValue, when it should be SPV_OPERAND_TYPE_ID.