(sorry for my poor English)
It's a nice idea and i think it shouldn't increase
the kernel size too much ;)
Talking about security, if a possible attacker could know about the
bootloader type, he does nothing so this patch is not dangerous.
Good luck!
OT: a reply-to linux-kernel would be nice :/
(happy new year)