Check packet length in bta_av_proc_meta_cmd

Bug: 111893951
Test: manual - connect A2DP
Change-Id: Ibbf347863dfd29ea3385312e9dde1082bc90d2f3
(cherry picked from commit ed51887f921263219bcd2fbf6650ead5ec8d334e)

static void bta_av_del_sdp_rec(uint32_t* p_sdp_handle) {
 if (*p_sdp_handle != 0) {
    SDP_DeleteRecord(*p_sdp_handle);
 *p_sdp_handle = 0;
 }
}

static void bta_av_del_sdp_rec(uint32_t* p_sdp_handle) {
 if (*p_sdp_handle != 0) {
    SDP_DeleteRecord(*p_sdp_handle);
 *p_sdp_handle = 0;
 }
}
