correctly lower call of dot expression on pointer type

validate sub-expression of cast