Priority target AI: change a variable to boolean (as suggested by shadowm)

target_in_reach was set up as an integer, but was used like a boolean.