IPC: make sure we return a consistent error when the message is too big.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>