[PATCH v18 03/13] bpf: Move dynptr type check to is_dynptr_type_expected()