there's no good way to tell if the payload should be padded or if it should just be realigned, so raise an exception and make the caller figure it out
used by picotool as part of the write, so we'll do the same