[z1872] Add additional flag SELECT_FLAG_NOT_IN_MELEE_RANGE

this allows to select targets that are not in melee range with SelectAttackingTarget

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit f019773)

(cleaned version of f04867a)

(based on commit [s1439] - 184c528)