main/openrc: modloop: fix detection of vanilla kernel flavor

ref #3672

(cherry picked from commit 34028faf4bcb764dd20a21914cc2363d16a1de9b)