smb2_server: Add range checking to nbt_length