Random Recruit Micro AI: fix bug with custom castle terrain

Previously, only terrain with C or K in the terrain code passed the
SLF.  Now we check whether the hex is a castle instead, independent of
the terrain code.