Yes, the guaranty brings it under Reg O to the extent the loan is a guaranteed. If a 50% guarantee, 50% of the loan is counted toward that director's Reg O limit.
If the loan is to a related interest, the entire loan is counted toward Reg O limit, regardless of any limit on the guaranty.