[PATCH v2 07/11] packet: Move checks against PACKET_MAX_LEN to packet_check_range()