ApprovalInference: Check earlier if patch set is null
ApprovalInference: Check earlier if patch set is null

Map#lowerEntry could already return null (though it is not annotated
with @Nullable). This commit checks #lowerEntry for nullability instead
of Entry#getValue.

Change-Id: Id0eea667d36880499ec70a4ad353d30faa866f64

GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit