ramips: add port index in switch config for buffalo WHR-* and WSR-* devices