Stdlib: Convert `FileDescriptor` from an enum to an abstract type
This issue proposes refactoring the `FileDescriptor` representation in the WASI standard library. Currently, it's an enum, but the author suggests converting it to an abstract type for better semantic representation, likely a remnant of older design choices.