[PATCH v17 02/12] bpf: Move dynptr type check to is_dynptr_type_expected()