fcntl(2): be more precise about third arg type
(cherry picked from commit 97722455cce4f8398f6411eaaa80d595dcb5fb3c)