[PATCH 6.1 169/176] drm/amd/display: fixed integer types and null check locations