[layout] accept 0 lookup, feature or script offset

Having null offsets for those is perfectly valid, so accept that and
skip parsing the relevant list in this case.

This commit is best viewed with --ignore-space-change.

Fixes #4.