GENMASK has been introduced in 3.13, so adding a compat version

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>