Fix writing compressed layouts to older clients.

All protocol 35 clients and Q2PRO client before 727e7b1 can't seamlessly
write contents of svc_zpacket to demo. Disable writing compressed
layouts to such clients when they are recording.

Also use clients maxpacketlen value for deciding if layout is large
enough to be compressed.