Fix bounds checking in hdmi_infoframe_header_pack (PR kern/49411).
Don't return early when the incorrect size is passed to some of the
ptrace actions. Leaves locks dangling and causes panics with lockdebug.
XXX: Pullup 7
Print the shared lock(s) before we panic, to aid with debugging.