[PATCH] pi-futex: Validate futex type instead of oopsing