Add new osmo_fd_get_by_fd() function

This function can be used to obtain the osmo_fd corresponding to a given
fd.  The latter can be useful when integrating libosmocore main loop
with other libraries.
diff --git a/include/osmocom/core/select.h b/include/osmocom/core/select.h
index b6b9e82..b9e3b51 100644
--- a/include/osmocom/core/select.h
+++ b/include/osmocom/core/select.h
@@ -39,4 +39,6 @@
 void osmo_fd_unregister(struct osmo_fd *fd);
 int osmo_select_main(int polling);
 
+struct osmo_fd *osmo_fd_get_by_fd(int fd);
+
 /*! @} */