Corrected argument order when constructing OpenFlow 1.0 PacketIn message

Input port and packet length were exchanged when constructing OpenFlow 1.0 PacketIn message in the _switch_ example.