format: remove dead code
format: proper test for caplen.

A few issues with the previous test:

* `left` is unsigned so it would never be < 0.
* It tests if the previous option was readable, not if the current is (need to take `sizeof(tcp_option_t)` into account)
* It also didn't test if the option data was readable.