Bugs in SFF refernece implementation

- When decoding NSH v3 packets, there were a couple of
  off-by-one erros

Change-Id: I110f8e2732034c6f85899efdaf03d8710928d93d
Signed-off-by: Reinaldo Penno <rapenno@gmail.com>