monitor: Validate HCI event/command parameter length when parsing
monitor: Validate HCI event/command parameter length when parsing

Print an error message if the parameter length for HCI commands/events
does not match the actual remaining packet size.

This mainly avoids using garbage bytes when parsing corrupted packets.
The check was inspired on those used when parsing SCO/ACL packets.

mapfau/bluez,mapfau/bluez,silent-snowman/bluez,silent-snowman/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,mapfau/bluez,silent-snowman/bluez,pkarasev3/bluez,pstglia/external-bluetooth-bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,ComputeCycles/bluez,silent-snowman/bluez,mapfau/bluez,pkarasev3/bluez,ComputeCycles/bluez,pkarasev3/bluez,pkarasev3/bluez,pstglia/external-bluetooth-bluez