dpif: Make dpif_class 'open' function take class instead of type name.