type: move null ptr check to resolve_dynamic_prop

	* gdbtypes.c (resolve_dynamic_prop): Null ptr check on
	PROP.
	(resolve_dynamic_values): Remove null ptr check in front of
	calls to resolve_dynamic_prop.

Change-Id: I7ee6fe0784144c4a807c4ac18719bb660153979a
type: return resolved type instead of type itself

	* gdbtypes.c (resolve_dynamic_values_1): Return resolved_type instead
	of type. Thus the check for dynamic types could be removed.

Change-Id: Ib444743606a991856ce69eaaaf310cd11ac81c0e