Accessing local variable before nullcheck in getFirstChildAtColumn(int)

The local variable 'child' is accessed right before a null check (also reported by static analyzer tool FindBugs).