Fix gst_vaapi_profile_get_codec() getting wrong profile.
The profile IDC map in gst_vaapi_profile_from_codec_data_h265 is wrong. Also, rename gst_vaapi_profile_get_codec to gst_vaapi_get_codec_from_caps. Get codec directly.
Edited by Víctor Manuel Jáquez Leal