[PATCH v2] fs: fix possible Spectre V1 indexing in __close_fd()